package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;
/**
 *  GSP认证 
 * @author tngou@tngou.net
 *
 */
public class Drugname extends POJO {

	
	private String  number 	;//		批准文号 	
	private String  name 	;//		产品名称 	
	private String  ename 	;//		英文名称 	
	private String  mnumber ;//		批准文号备注 	
	private String  gname 	;//		商品名 	
	private String  enterprise 	;//		生产单位 	
	private String  spec 	;//	 		规格 	
	private String  dtype 	;//		剂型 	
	private String  gtype 	;//			产品类别 	
	private String  adate 	;//			批准日期 	
	private String  onumber ;//		原批准文号 	
	private String  code 	;//		药品本位码 	
	private String  mcode 	;//		药品本位码备注 	
	private String  address ;//		生产地址 	
	public Drugname() {}
	public Drugname(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("批准文号");
			this.name=json.getString("产品名称"); 	
			this.ename=json.getString("英文名称"); 	
			this.mnumber=json.getString("批准文号备注"); 	
			this.gname=json.getString("商品名"); 	
			this.enterprise=json.getString("生产单位"); 	
			this.spec=json.getString("规格"); 	
			this.dtype=json.getString("剂型"); 	
			this.gtype=json.getString("产品类别"); 	
			this.adate=json.getString("批准日期"); 	
			this.onumber=json.getString("原批准文号"); 	
			this.code=json.getString("药品本位码"); 	
			this.mcode=json.getString("药品本位码备注"); 	
			this.address=json.getString("生产地址"); 	
			
			
		}
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public String getMnumber() {
		return mnumber;
	}
	public void setMnumber(String mnumber) {
		this.mnumber = mnumber;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public String getEnterprise() {
		return enterprise;
	}
	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	public String getDtype() {
		return dtype;
	}
	public void setDtype(String dtype) {
		this.dtype = dtype;
	}
	public String getGtype() {
		return gtype;
	}
	public void setGtype(String gtype) {
		this.gtype = gtype;
	}
	public String getAdate() {
		return adate;
	}
	public void setAdate(String adate) {
		this.adate = adate;
	}
	public String getOnumber() {
		return onumber;
	}
	public void setOnumber(String onumber) {
		this.onumber = onumber;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMcode() {
		return mcode;
	}
	public void setMcode(String mcode) {
		this.mcode = mcode;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	

}
